<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>transform</title>
    <style>
        /*  变换 transform
                1. 缩放变换 scale(倍数)
                    - 默认变换的基准点在中心
                2. 旋转变换 rotate(deg)
                    - 角度为正值，顺时针旋转
        */
        div{
            width: 100px;height: 100px;background: red; margin: 100px auto;
            transition: transform 1s linear;
            /* transform-origin: right bottom; */
        }
        div:hover{
            transform: rotate(360deg);
            /* transform: scale(2); */
        }

    </style>
</head>
<body>
    <div></div>
</body>
</html>